package com.tjh.springbootapi.controller;

import com.koala.apiprototype.annotations.IgnoreValidate;
import com.tjh.springbootapi.annotation.AopAnnotation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Create by koala on 2022-08-11
 */
@RestController
@RequestMapping("/aopAnnotation")
public class AopAnnotationController {

    @PostMapping("/customAnnotation")
    @IgnoreValidate
    @AopAnnotation(code = "customAnnotation")
    public void customAnnotation() {
    }

}